package com.codeape.number.base.mvvm.command;

/**
 * A functional interface similar to Runnable but allows throwing a checked exception.
 */
public interface Action {
    /**
     * Runs the action and optionally throws a checked exception.
     *
     * @throws Exception if the implementation wishes to throw a checked exception
     */
    void run() throws Exception;
}